<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <meta name="keywords" content="index">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="icon" type="image/png" href="../AmazeUI-2.4.2/admin/i/favicon.png">
  <link rel="apple-touch-icon-precomposed" href="../AmazeUI-2.4.2/admin/i/app-icon72x72@2x.png">
  <meta name="apple-mobile-web-app-title" content="Amaze UI" />
  <link rel="stylesheet" href="../AmazeUI-2.4.2/admin/css/amazeui.min.css"/>
  <link rel="stylesheet" href="../AmazeUI-2.4.2/admin/css/admin.css">
  <script src="../AmazeUI-2.4.2/admin/js/jquery.min.js"></script>
  <script src="../AmazeUI-2.4.2/admin/js/app.js"></script>
</head>




<body>
<script type="text/javascript">
  function check(form) {
    if(form.name.value==""){
      alert("输入名称")
      form.name.focus();
      return false;
    }
    if(form.classify.value==""){
      alert("输入分类")
      form.classify.focus();
      return false;
    }
    if(form.userName.value==""){
      alert("输入用户")
      form.userName.focus();
      return false;
    }
    if(form.address.value==""){
      alert("输入地址")
      form.address.focus();
      return false;
    }
    return true;

  }
</script>
    <div class="listbiaoti am-cf">
      <ul class="am-icon-flag on"> 添加订单</ul>
        
    </div>
	
    <div class="fbneirong">
      <form class="am-form" action="addOrder">
        <div class="am-form-group am-cf">
          <div class="zuo">商品名称：</div>
          <div class="you">
            <input type="text" class="am-input-sm" name="name" id="name" placeholder="请输入商品名称">
          </div>
        </div>
        <div class="am-form-group am-cf">
          <div class="zuo">分类：</div>
          <div class="you">
            <input type="text" class="am-input-sm" name="classify" id="classify" placeholder="请输入分类">
          </div>
        </div>
        <div class="am-form-group am-cf">
          <div class="zuo">用户</div>
          <div class="you">
           <input type="text" class="am-input-sm"  name="userName" id="userName" placeholder="请输入分类">
          </div>
        </div>
          
        
        
        
        <div class="am-form-group am-cf">
          <div class="zuo">地址：</div>
          <div class="you">
            <textarea class="" rows="2" id="address" name="address"></textarea>
          </div>
        </div>
        

        <div class="am-form-group am-cf">
          <div class="you" style="margin-left: 11%;">
             <button type="submit" class="am-btn am-btn-secondary am-radius" onclick="return check(this.form)">发布并上架</button>

          </div>
        </div>
      </form>
    </div>

  

</div>




</div>

</div>




</div>

<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="assets/js/polyfill/rem.min.js"></script>
<script src="assets/js/polyfill/respond.min.js"></script>
<script src="assets/js/amazeui.legacy.js"></script>
<![endif]--> 

<!--[if (gte IE 9)|!(IE)]><!--> 
<script src="assets/js/amazeui.min.js"></script>
<!--<![endif]-->



</body>
</html>